﻿<Window x:Class="ControlAccessUser.Presentation.ReportsOfLogins"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ViewUserLogins" Height="420" Width="672">
    <Grid>
        <DataGrid AutoGenerateColumns="False" Height="286" HorizontalAlignment="Right" Margin="0,28,12,0" Name="dataGridReportsOfLogins" VerticalAlignment="Top" Width="488" >
            <DataGrid.Columns>
                <DataGridTextColumn Header="Fecha Inicial" Binding="{Binding DateTimeInit}"    />
                <DataGridTextColumn Header="Fecha Final" Binding="{Binding DateTimeEnd}"    />
                <DataGridTextColumn Header="Numero de Logins" Binding="{Binding AmountLogins}"    />
                <DataGridTextColumn Header="Horas Trabajadas" Binding="{Binding HoursToWorks}"    />
                <DataGridTextColumn Header="Dias Trabajados" Binding="{Binding DaysWork}"    />
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="FILTER" Height="23" HorizontalAlignment="Left" Margin="12,234,0,0" Name="btnFilter" VerticalAlignment="Top" Width="115" Click="btnFilter_Click" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="12,28,0,0" Name="cbxTypeOfFilter" VerticalAlignment="Top" Width="115" ItemsSource="{Binding}">
            <ComboBoxItem Content="SESION" />
            <ComboBoxItem Content="MES" />
            <ComboBoxItem Content="SEMANA" />
        </ComboBox>
        <DatePicker Height="25" HorizontalAlignment="Left" Margin="12,120,0,0" Name="datePickerDateInit" VerticalAlignment="Top" Width="115" />
        <DatePicker Height="25" HorizontalAlignment="Left" Margin="12,177,0,0" Name="datePickerDateEnd" VerticalAlignment="Top" Width="115" />
        <Label Content="Init" Height="28" HorizontalAlignment="Left" Margin="12,86,0,0" Name="label1" VerticalAlignment="Top" Width="115" />
        <Label Content="End" Height="28" HorizontalAlignment="Left" Margin="12,151,0,0" Name="label2" VerticalAlignment="Top" Width="115" />
    </Grid>
</Window>
